package cn.iocoder.yudao.module.security.controller.admin.rule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 规则新增/修改 Request VO")
@Data
public class SecurityRuleSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2895")
    private Long id;

    @Schema(description = "SID", example = "3123")
    private String sId;

    @Schema(description = "GID", example = "28732")
    private String gId;

    @Schema(description = "MSG")
    private String msg;

    @Schema(description = "详情")
    private String content;

    @Schema(description = "来源文件")
    private String file;

    @Schema(description = "类型", example = "2")
    private String ruleType;

    @Schema(description = "状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态（0正常 1停用）不能为空")
    private Integer status;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}